package Client;

import javax.swing.*;
import MetroMessenger.*;

public class ClientApplication 
{
	public static void main(String args[])
	{
		try
		{
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} 
		catch (Exception unused) 
		{
		        ; 
		        // Ignore exception because we can't do anything.  Will use default.
		}	
		
		 MessageManager messageManager; 
	      
	      if ( args.length == 0 )
	         messageManager = new SocketMessageManager( "127.0.0.1" );
	      else
	         messageManager = new SocketMessageManager( args[ 0 ] );  
	      ClientGUI clientGUI = new ClientGUI( messageManager );
	}
}
